var express = require('express')
var bodyParser= require('body-parser')
var web = express()
web.use(express.static('public'))
web.use(bodyParser.urlencoded({extended:false}))

web.get('/message', function (req, res) {
    var callback = req.query.callback+'("我是数据源");';
    res.send(callback)
})

web.listen('8080',function(){
    console.log('8080服务器启动......')
})
